<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        let uname='刘德华'
        let word='忘情水'
        // document.write(uname+word)
        let age=19
        // document.write("我今年"+age+"岁了")

        // 模板字符串，外边用反引号，里面${变量名}
        document.write(`我叫${uname},今年${age}岁了`)
    </script>
</body>
</html>